import { get, post } from '@/libs/axios'

const benefit = {
    // 分页列表
    page(queryData) {
        return get('/benefit/page', queryData)
    },
    // 单条信息
    info(id) {
        return get('/benefit/info', { id: id })
    },
    // 保存
    save(formData) {
        return post('/benefit/save', formData)
    },
    //统计
    statistics(formData) {
        return post('/benefit/statistics', formData)
    },
    // 删除
    del(id) {
        return post('/benefit/delete', { id: id })
    }
}

export default benefit
